package cn.xej.easyexcel.service;


import cn.xej.easyexcel.common.RespObj;
import cn.xej.easyexcel.pojo.Book;
import com.alibaba.fastjson.JSONObject;

public interface BookService {



    RespObj addBook(Book book);

    RespObj getBook(long bookId);

    /* ********************* */

    JSONObject initBookTable(Integer page, Integer limit, String searchId, String searchName);

    RespObj deleteBook(long bookId);

    RespObj updateBook(Book book);

    RespObj getClassNames();
}
